package com.ctshk.rpc.season.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalTime;

/**
 * @ClassName SeasonFixedProductPackageAirReq
 * @Description: TODO
 * @Author 杨林
 * @Date 2021/3/9
 **/
@Data
@ApiModel(value="SeasonFixedProductPackageAirReq对象", description="固定套票飞机票信息req")
public class SeasonFixedProductPackageAirReq implements Serializable {


    @ApiModelProperty(value = "机票产品id",required = true)
    private Long productId;

    @ApiModelProperty(value = "打包id",required = true)
    private Long packageId;

    @ApiModelProperty(value = "行程类型(depart：出发，return：回程)",required = true)
    @NotNull(message = "行程类型不能为空")
    private String tripType;

    @ApiModelProperty(value = "航空公司id",required = true)
    @NotNull(message = "航空公司id不能为空")
    private Long companyId;

    @ApiModelProperty(value = "航空公司名称",required = true)
    @NotNull(message = "航空公司不能为空")
    private String companyName;

    @ApiModelProperty(value = "船舱等级(1 经济舱，2 高端经济舱，3 商务舱，4 头等舱)",required = true)
    private Integer cabinClass;

    @ApiModelProperty(value = "是否默认 1:是,0：不是",required = true)
    @NotNull(message = "是否默认不能为空")
    private Integer isDefault;

    @ApiModelProperty(value = "航班号",required = true)
    @NotNull(message = "航班号不能为空")
    private String flightNumber;

    @ApiModelProperty(value = "起飞时间",required = true)
    @NotNull(message = "起飞时间不能为空")
    private LocalTime  depTime;

    @ApiModelProperty(value = "到达时间",required = true)
    @NotNull(message = "到达时间不能为空")
    private LocalTime arrTime;

    @ApiModelProperty(value = "供应商id",required = true)
    @NotNull(message = "供应商id不能位空")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称",required = true)
    @NotNull(message = "供应商名称不能位空")
    private String supplierName;
}
